import request from '@/utils/request'

// 查询直播申请列表
export function listSzLiveApply(query) {
  return request({
    url: '/module/szLiveApply/list',
    method: 'get',
    params: query
  })
}

// 查询直播申请详细
export function getSzLiveApply(id) {
  return request({
    url: '/module/szLiveApply/' + id,
    method: 'get'
  })
}

// 新增直播申请
export function addSzLiveApply(data) {
  return request({
    url: '/module/szLiveApply',
    method: 'post',
    data: data
  })
}

// 修改直播申请
export function updateSzLiveApply(data) {
  return request({
    url: '/module/szLiveApply',
    method: 'put',
    data: data
  })
}

// 删除直播申请
export function delSzLiveApply(id) {
  return request({
    url: '/module/szLiveApply/' + id,
    method: 'delete'
  })
}

// 导出直播申请
export function exportSzLiveApply(query) {
  return request({
    url: '/module/szLiveApply/export',
    method: 'get',
    params: query
  })
}
